import { defineStore } from 'pinia';
import router, { constantRoutes } from '@/router';
// import { getRouters } from '@/api/menu';
import { TagView } from '@pinia/types/tagsView';
import { ref } from 'vue';
const modules = import.meta.glob('./../../views/**/*.vue');

export const usePermissionStore = defineStore('permission', () => {
  const routes = ref(constantRoutes);

  return { routes };
});

export default usePermissionStore;
